#if !defined(AFX_DLGBRANCHCREATE_H__5F415740_82FC_4267_97CA_8147301DEA63__INCLUDED_)
#define AFX_DLGBRANCHCREATE_H__5F415740_82FC_4267_97CA_8147301DEA63__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// dlgbranchcreate.h : header file
//
#include "Unit.h"
#include "PDMSUIres.h"

/////////////////////////////////////////////////////////////////////////////
// CDlgBranchCreate dialog
namespace PDMS
{
	namespace PDMSUI
	{
		class DllExport CDlgBranchAttr : public CDialog
		{
			// Construction
			
		public:
			CDlgBranchAttr(CWnd* pParent = NULL);   // standard constructor
			int GetShopFlag();
			int GetBuildFlag();
			CString GetCasV();
			CString GetDesV();
			CString GetFluV();
			CString GetFunV();
			CString GetMatV();
			CString GetPresV();
			CString GetPtrefV();
			CString GetPurV();
			CString GetTempV();

			void SetShopFlag( int iflag );
			void SetBuildFlag( int iflag );
			void SetCasV( const CString& strbuf );
			void SetDesV( const CString& strbuf );
			void SetFluV( const CString& strbuf );
			void SetFunV( const CString& strbuf );
			void SetMatV( const CString& strbuf );
			void SetPresV( const PressureUnit& pressbuf );
			void SetPtrefV( const CString& strbuf );
			void SetPurV( const CString& strbuf );
			void SetTempV( const TemperatureUnit& tempbuf );
			
			
			// Dialog Data
			//{{AFX_DATA(CDlgBranchCreate)
			enum { IDD = IDD_BRANCH_ATTR_DLG };
			CButton	m_shopFlagChk;
			CButton	m_buildFlagChk;
			CString	m_strCasEdt;
			CString	m_strDesEdt;
			CString	m_strFluEdt;
			CString	m_strFunEdt;
			CString	m_strMatEdt;
			CString	m_strPresEdt;
			CString	m_strPtrefEdt;
			CString	m_strPurEdt;
			CString	m_strTempEdt;
			//}}AFX_DATA
			
			
			// Overrides
			// ClassWizard generated virtual function overrides
			//{{AFX_VIRTUAL(CDlgBranchCreate)
		protected:
			virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
			virtual BOOL OnInitDialog();
			//}}AFX_VIRTUAL
			
			// Implementation
			
			
		protected:
			
			// Generated message map functions
			//{{AFX_MSG(CDlgBranchCreate)
			virtual void OnOK();
			//}}AFX_MSG
			DECLARE_MESSAGE_MAP()
		private:
			int m_nshopflag;
			int m_nbuildflag;
		};


	}
}
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGBRANCHCREATE_H__5F415740_82FC_4267_97CA_8147301DEA63__INCLUDED_)
